<div class="box-admin-login">
    <?php echo $this->Session->flash(); ?>
    <div class="content">
        <?php
        echo $this->Form->create('User', array( 'controller' => 'users', 'action' => 'login_form' ) );
        echo $this->Form->input('username', array('label'=>false,'type'=>'text','before' => '<span class="add-on"><i class="icon-user"></i></span>','placeholder'=>'Username','class'=>'text-input','div'=>array('class'=>'input-prepend control-group')));
        echo $this->Form->input('password', array('type'=>'password','label'=>false,'before' => '<span class="add-on"><i class="icon-lock"></i></span>','placeholder'=>'Password','class'=>'text-input','div'=>array('class'=>'input-prepend control-group')));
        echo $this->Form->submit(__('Login', true), array('class'=>'btn btn-primary'));
        echo $this->Form->end();
        ?>
    </div>
</div>

